﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CNTVNow.Web.Models
{
    public class CategoryModel
    {
        public List<Category> GetListCategory()
        {
            return (from c in SingletonContext.CntvContext.Categories where (c.CategoryParentID > 0) orderby c.CategoryParentID ascending select c).ToList();
        }
    }
}